<template>
    <div class="home-container">
        <!-- 头部区域 -->
        <Header></Header>
        <!-- 主体区域 -->
        <div class="home-main-box">
            <!-- 左侧边栏区域 -->
            <Aside></Aside>
            <!-- 右侧内容主体区域 -->
            <div class="home-main-body">
                <!-- 路由的视图 -->
                <RouterView></RouterView>
            </div>
        </div>
    </div>
</template>

<script setup>
import Header from '../components/Header.vue';
import Aside from '../components/Aside.vue';

</script>

<style scoped>
.home-container {
    height: 100%;
    display: flex;
    flex-direction: column;

    .home-main-box {
        height: 100%;
        display: flex;

        .home-main-body {
            padding: 15px;
            flex: 1;
        }
    }
}
</style>